package com.fleafinder;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;

public class GridViewScale extends GridView {
	public GridViewScale(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		heightMeasureSpec = MeasureSpec.makeMeasureSpec(MeasureSpec.AT_MOST,
				CommonConstants.MAX_EXPECTED_HEIGHT_OF_TABLE);
		super.onMeasure(widthMeasureSpec, heightMeasureSpec);
	}
}
